package com.kotlin.base.injection.module

import android.content.Context
import com.kotlin.base.common.BaseApplication
import dagger.Module
import dagger.Provides
import javax.inject.Singleton

/**
 * @author Mr.Wang
 * @version v0.3.6
 * @time 2018/3/8
 * @describe
 */
@Module
class AppModule (private val context: BaseApplication){

    @Provides
    @Singleton
    fun providesContext() : Context {
        return context
    }

}